﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Media = System.Windows.Media;
using Drawing = System.Drawing;

namespace Net.Chirash.Twitter.TweetZone.Tools
{
    static class ColorUtility
    {
        public static Media.Color ToWindowsMediaColor(this Drawing.Color c)
        {
            return Media.Color.FromArgb(c.A, c.R, c.G, c.B);
        }

        public static Drawing.Color ToDrawingColor(this Media.Color c)
        {
            return Drawing.Color.FromArgb(c.A, c.R, c.G, c.B);
        }
    }
}
